Repository navigation
ci: ?????????? workflow - #43
Closed
Dame-time-0034 wants to merge 1 commit into
Closed
Dame-time-0034 wants to merge 1 commit into
Dame-time-0034 wants to merge 1 commit into
Conversation
Member
Contributor
Author
|
抱歉,现在就改 |
Contributor
Author
|
此 PR 因标题/正文/提交信息中文乱码已关闭,已用正确的 UTF-8 重建:#44 。验证内容见新 PR 描述。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

解决 #11:把原来需要在编辑器界面里手动点击的自动化测试,改为 GitHub Actions 中可直接执行的命令行方式。
做法
[self-hosted, Linux, X64])UE4Editor Linux Development,再用一个空.uproject运行引擎自带测试(引擎仓库本身不含工程文件):-NoEnginePlugins:避免空工程加载未编译的引擎插件导致启动失败xvfb-run:runner 没有图形会话时提供虚拟显示index.json判定结果:编辑器在测试失败时仍返回 0,不能只看退出码;进程崩溃时返回非 0已验证内容(Ubuntu 24.04 + UE 4.26,服务器实测)
System.Core.Misc.Timespan连续 2 次Passed,EXIT_CODE=0-NoEnginePlugins可正常启动并执行测试;不加该参数会因ExampleDeviceProfileSelector、LocationServicesBPLibrary模块缺失而退出succeeded=13、failed=0、notRun=0,EXIT_CODE=0,耗时约 1 分钟(含编辑器启动)-ReportExportPath正确生成index.json/index.htmlSystem.Core.Misc全量会跑到引擎自带的AsyncIODelete测试并触发 SIGSEGV(退出码 139),默认测试集已避开说明
GIT_CODE通过 secret 传入,只在 runner 首次运行、.git/ue4-gitdeps不存在时需要;已有缓存时直接复用workflow_dispatch输入调整,后续可直接扩充Closes #11